package com.ruoyi.web.mapper;

import com.ruoyi.web.domain.ReservationFail;

import java.util.List;

/**
 * 预约失败Mapper接口
 * 
 * @author ruoyi
 * @date 2023-11-02
 */
public interface ReservationFailMapper 
{
    /**
     * 查询预约失败
     * 
     * @param id 预约失败主键
     * @return 预约失败
     */
    public ReservationFail selectReservationFailById(Long id);

    /**
     * 查询预约失败列表
     * 
     * @param reservationFail 预约失败
     * @return 预约失败集合
     */
    public List<ReservationFail> selectReservationFailList(ReservationFail reservationFail);

    /**
     * 新增预约失败
     * 
     * @param reservationFail 预约失败
     * @return 结果
     */
    public int insertReservationFail(ReservationFail reservationFail);

    /**
     * 修改预约失败
     * 
     * @param reservationFail 预约失败
     * @return 结果
     */
    public int updateReservationFail(ReservationFail reservationFail);

    /**
     * 删除预约失败
     * 
     * @param id 预约失败主键
     * @return 结果
     */
    public int deleteReservationFailById(Long id);

    /**
     * 批量删除预约失败
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteReservationFailByIds(String[] ids);
}
